class AppUserModel {
  int code;
  String msg;
  List<AppUserData> data;

  AppUserModel({this.code, this.msg, this.data});

  AppUserModel.fromJson(Map<String, dynamic> json) {
    code = json['code'];
    msg = json['msg'];
    if (json['data'] != null) {
      data = new List<AppUserData>();
      json['data'].forEach((v) {
        data.add(new AppUserData.fromJson(v));
      });
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['code'] = this.code;
    data['msg'] = this.msg;
    if (this.data != null) {
      data['data'] = this.data.map((v) => v.toJson()).toList();
    }
    return data;
  }
}

class AppUserData {
  int createTime;
  Null createUser;
  int updateTime;
  Null updateUser;
  String isDel;
  int id;
  String phone;
  String nickName;
  int sex;
  String avatarUrl;
  int infoStatu;
  int accountStatu;

  AppUserData(
      {this.createTime,
        this.createUser,
        this.updateTime,
        this.updateUser,
        this.isDel,
        this.id,
        this.phone,
        this.nickName,
        this.sex,
        this.avatarUrl,
        this.infoStatu,
        this.accountStatu});

  AppUserData.fromJson(Map<String, dynamic> json) {
    createTime = json['createTime'];
    createUser = json['createUser'];
    updateTime = json['updateTime'];
    updateUser = json['updateUser'];
    isDel = json['isDel'];
    id = json['id'];
    phone = json['phone'];
    nickName = json['nickName'];
    sex = json['sex'];
    avatarUrl = json['avatarUrl'];
    infoStatu = json['infoStatu'];
    accountStatu = json['accountStatu'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['createTime'] = this.createTime;
    data['createUser'] = this.createUser;
    data['updateTime'] = this.updateTime;
    data['updateUser'] = this.updateUser;
    data['isDel'] = this.isDel;
    data['id'] = this.id;
    data['phone'] = this.phone;
    data['nickName'] = this.nickName;
    data['sex'] = this.sex;
    data['avatarUrl'] = this.avatarUrl;
    data['infoStatu'] = this.infoStatu;
    data['accountStatu'] = this.accountStatu;
    return data;
  }
}